//
//  ZZCustomViewModel.h
//  新项目
//
//  Created by liGordon on 17/3/14.
//  Copyright © 2017年 刘耀宗. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ZZCustomViewModel : NSObject

+(instancetype)shareViewModel;

// 客户转换分析
-(void)getCustomConvertAnalysisWithCompanyID:(NSString *)companyID andPageIndex:(NSString *)pageIndex andPageSize:(NSString *)pageSize andRecommendName:(NSString *)RecommendName  andSuccess:(void (^)(NSDictionary *result))success andFailer:(void (^)())failer;;

// 新增客户转换分析
-(void)getNewCustomConvertAnalysisWithCompanyID:(NSString *)companyID andPageIndex:(NSString *)pageIndex andPageSize:(NSString *)pageSize andStartTime:(NSString *)startTime andEndTime:(NSString *)endTime andSuccess:(void (^)(NSDictionary *result))success andFailer:(void (^)())failer;;

// 车辆流失
-(void)getCarLostAnalysisWithCompanyID:(NSString *)companyID andPageIndex:(NSString *)pageIndex andPageSize:(NSString *)pageSize andNum:(NSString *)num andSuccess:(void (^)(NSDictionary *result))success andFailer:(void (^)())failer;;

// 美容/维修忠实客户
-(void)getBeautyOrRepairBigFansWithCompanyID:(NSString *)companyID andPageIndex:(NSString *)pageIndex andPageSize:(NSString *)pageSize andParam1:(NSString *)param1 andParam2:(NSString *)param2 andType:(NSString *)type andTxtbegin:(NSString *)txtbegin andTxtEnd:(NSString *)txtEnd andName:(NSString *)name andPlateNumber:(NSString *)plateNumber andSuccess:(void (^)(NSDictionary *))success andFailer:(void (^)())failer;;





@end
